import { request, RequestEnum, ContentTypeEnum } from "@/utils/request.js"

// 添加好友
export const reqAddFriend = data => request(`/friends/add`, RequestEnum.POST, data)

// 删除好友
export const reqDeleteFriend = id => request(`/friends/delete/${id}`, RequestEnum.DELETE)

// 分页查询好友
export const reqFriendsPage = data => request(`/friends/select`, RequestEnum.GET, data)

// 修改好友信息
export const reqPutFriend = data => request(`/friends/update`, RequestEnum.PUT, data)
